package com.gw2.gw2world.web.server.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

@Entity
public class Item {
	@Id
	@Column(name="id")
	private int id;
	@Column(name="rarity")
	private String rarity;
	@Column(name="icon_file_id")
	int icon_file_id;
	@Column(name="icon_file_signature")
	String icon_file_signature;
	@Column(name="vendor_value")
	private int vendor_value=0;
	@Column(name="karma_value")
	private int karma_value=0;
	@Transient
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getVendor_value() {
		return vendor_value;
	}
	public void setVendor_value(int vendor_value) {
		this.vendor_value = vendor_value;
	}
	public int getKarma_value() {
		return karma_value;
	}
	public void setKarma_value(int karma_value) {
		this.karma_value = karma_value;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRarity() {
		return rarity;
	}
	public void setRarity(String rarity) {
		this.rarity = rarity;
	}
	public int getIcon_file_id() {
		return icon_file_id;
	}
	public void setIcon_file_id(int icon_file_id) {
		this.icon_file_id = icon_file_id;
	}
	public String getIcon_file_signature() {
		return icon_file_signature;
	}
	public void setIcon_file_signature(String icon_file_signature) {
		this.icon_file_signature = icon_file_signature;
	}
}
